package com.nenude.corejava.ch7;

public  class Employee {
	

		private String name;
		private String sex;
		private int age;
		private String phone;
		
		
		public String getName() {
			return name;
		}
		public void setName(String name) {
			this.name = name;
		}
		public String getSex() {
			return sex;
		}
		public void setSex(String sex) {
			this.sex = sex;
		}
		public int getAge() {
			return age;
		}
		public void setAge(int age) {
			this.age = age;
		}
		public String getPhone() {
			return phone;
		}
		public void setPhone(String phone) {
			this.phone = phone;
		}
		public Employee(String name, String sex, int age, String phone) {
			super();
			this.name = name;
			this.sex = sex;
			this.age = age;
			this.phone = phone;
		}
		public Employee() {
			super();
			
		}
//为公司
	public    void work(){
		System.out.println("搬砖");
	}
	
	
	
}
